package com.crawler.search.index.suffix;

import cn.hutool.core.util.ArrayUtil;
import com.alibaba.fastjson.JSONObject;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 根据类型，返回不同的索引类名
 * @author zyh
 *
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class DefaultSuffixer extends Suffixer {

	public String field;

	public static String version = "";

	@Override
	public String getAliasIndex(String index) {
		return index;
	}

	@Override
	public String createAliasName(JSONObject json) {
		return "";
	}
}
